package org.hzero.data.permission.dto;

import java.util.StringJoiner;

/**
 * 保存用户的基础信息
 *
 * @author tianhao.luo@hand-china.com
 */
public class UserInfoDTO {
    private String employeeCode;

    private Long roleId;

    private Long userId;


    public UserInfoDTO() {
    }

    public Long getRoleId() {
        return roleId;
    }

    public void setRoleId(Long roleId) {
        this.roleId = roleId;
    }

    @Override
    public String toString() {
        return new StringJoiner(", ", UserInfoDTO.class.getSimpleName() + "[", "]")
                .add("employeeCode='" + employeeCode + "'")
                .add("userId=" + userId)
                .toString();
    }

    public String getEmployeeCode() {
        return employeeCode;
    }

    public void setEmployeeCode(String employeeCode) {
        this.employeeCode = employeeCode;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }
}
